<?php
namespace jy_creditshop;
defined('BY_JYA') or exit('error');
/*
	工具类
*/
class model extends \plugin{
	public function msgtpl_tags($area=array()){
		$tags=array(
			array('title'=>'通用类','data'=>array(
				array('name'=>'商城名称','smsvar'=>'shopname'),
				array('name'=>'粉丝昵称','smsvar'=>'nickname'),
			)),
			array('title'=>'订单类','data'=>array(
				array('name'=>'订单号','smsvar'=>'ordersn'),
				array('name'=>'订单金额','smsvar'=>'price'),
				array('name'=>'运费','smsvar'=>'dispatchprice'),
				array('name'=>'商品详情','smsvar'=>'goodsinfo'),
				array('name'=>'快递公司','smsvar'=>'expresscom'),
				array('name'=>'快递单号','smsvar'=>'expresssn'),
				array('name'=>'收件人','smsvar'=>'realname'),
				array('name'=>'购买者姓名','smsvar'=>'name'),
				array('name'=>'购买者电话','smsvar'=>'mobile'),
				array('name'=>'收货地址','smsvar'=>'addressinfo'),
				array('name'=>'下单时间','smsvar'=>'createtime'),
				array('name'=>'支付时间','smsvar'=>'paytime'),
				array('name'=>'发货时间','smsvar'=>'sendtime'),
				array('name'=>'收货时间','smsvar'=>'finishtime'),
				array('name'=>'门店','smsvar'=>'storetitle'),
				array('name'=>'门店地址','smsvar'=>'storeaddress'),
				array('name'=>'门店联系人','smsvar'=>'storerealname'),
				array('name'=>'门店营业时间','smsvar'=>'storeonlinetime'),
				array('name'=>'虚拟物品自动发货内容','smsvar'=>'virtualsend_info'),
				array('name'=>'虚拟卡密自动发货内容','smsvar'=>'virtual_str'),
				array('name'=>'自提码','smsvar'=>'number'),
				array('name'=>'备注信息','smsvar'=>'remark'),
				array('name'=>'商品数量','smsvar'=>'goodsnum'),
				array('name'=>'商品名称','smsvar'=>'goodsname'),
			)),
			array('title'=>'排号类','data'=>array(
				array('name'=>'排队号','smsvar'=>'pai_number'),
				array('name'=>'取号时间','smsvar'=>'pai_time'),
				array('name'=>'等待人数','smsvar'=>'pai_lastnum'),
			)),
		);
		return $tags;
	}
}